﻿using Furion.DependencyInjection;

namespace ZeroAdmin.Application;

/// <summary>
/// 用户服务
/// </summary>
public interface IUserService : ITransient
{
    /// <summary>
    /// 添加用户
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task<long> AddUser(AddUserInput input);

    /// <summary>
    /// 更新用户
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task<long> UpdateUser(UpdateUserInput input);

    /// <summary>
    /// 删除用户
    /// </summary>
    /// <param name="UserId"></param>
    /// <returns></returns>
    Task DeleteUser(long UserId);
}
